package Adaptor;

/**
 * @author duanzhizhou
 * @date 2024/10/15
 */
public class client {
    
    public static void main(String[] args) {
        ChnChatTool douyin = new Douyin();
        douyin.send("hahaha");
        douyin.recv("hehehe");
        EngChatTool tiktok = new Tiktok();
        ChnChatTool adaptor = new Adaptor(tiktok);
        adaptor.send("hahaha");
        adaptor.recv("hehehe");
    }
}
